#include <iostream>

/* run this program using the console pauser or add your own getch, system("pause") or input loop */

int main(int argc, char** argv) {
	int i,j,z;
	for( i=1;i<=9;i++){
		
	   for(j=1;j<=i;j++){
	z=i*j;
	printf("%d*%d=%d ",i,j,z);
	  if(i==j){
	  	printf("\n"); 
	  }
	  }
	}
	
	
	
	
	return 0;
}
